package com.hang.gymmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
@TableName("seat")
public class SeatEntity {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    public Integer id;

    /**
     * 活动id
     */
    private Integer activityId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 区域id
     */
    private Integer areaId;

    /**
     * 票类型 123 高中低
     */
    private Integer type;

    /**
     * 排
     */
    private Integer seatRow;

    /**
     * 坐
     */
    private Integer seatColumn;

    /**
     * 票价
     */
    private BigDecimal price;

}
